package com.car.car.enums;

public enum  ResultEnums {
    UNKUOW_ERROR(-1,"未知错误"),
    TOO_YOUNG(101,"young girl"),
    TOO_SIMPLE(102,"simple girl"),
    SUCCESS(0,"成功"),
    ;

    private Integer code;

    private String message;

    ResultEnums(Integer code, String message){
        this.code = code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
